﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wallpaper.Models.DTOs.Responses.Tag;

namespace Wallpaper.Services.IService
{
    public interface ITagService
    {
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="tagName"></param>
        /// <returns></returns>
        Task CreateAsync(string tagName);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(string id);


        /// <summary>
        /// 获取前3条热门标签
        /// </summary>
        /// <param name="v"></param>
        /// <returns></returns>
        Task<List<TagResponse>> GetHotTagsAsync(int v);

        /// <summary>
        /// 获取标签
        /// </summary>
        /// <returns></returns>
        Task<List<TagResponse>> GetListAsync();
    }
}
